<!doctype html>
<html>

<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
  <meta name="description" content="">
  <meta name="author" content="">
  <link rel="icon" href="/public/images/favicon.ico">
  <title>{{block 'title'}}默认Title{{/block}}</title>

  {{block 'head'}}
  <link rel="stylesheet" href="/public/css/bootstrap.min.css">
  {{/block}}
</head>

<body>
  <nav class="navbar navbar-inverse navbar-fixed-top">
    <div class="container-fluid">
      <div class="navbar-header">
        <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar"
          aria-expanded="false" aria-controls="navbar">
          <span class="sr-only">Toggle navigation</span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
        </button>
        <a class="navbar-brand" href="/admin/index">管理中心</a>
      </div>
      <div id="navbar" class="navbar-collapse collapse">
        <ul class="nav navbar-nav navbar-right">
          <li><a href="/admin/index">返回首页</a></li>
          <li><a href="javascript:void(0)">用户：{{ username }}</a></li>
          <li><a href="/admin/logout">退出登录</a></li>
        </ul>
      </div>
    </div>
  </nav>
  {{block 'content'}}{{/block}}
</body>

</html>